<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php
echo JhtraqHelper::drawTabs($this->project->slug);
?>
<p></p>
<div class="componentheading">
	<?php echo $this->project->name; ?> - <?php echo JText::_('COM_JHTRAQ_CHANGELOG');?>
</div>
<fieldset class="legend">
	<legend><?php echo JText::_('COM_JHTRAQ_LEGEND');?></legend>
	<?php foreach($this->types as $type) { ?>
		<span class="type_bullet"><?php echo $type['bullet']?></span> = <?php echo $type['name']?><br />
	<?php } ?>
</fieldset>

<?php foreach($this->milestones as $milestone) { ?>
	<h3><?php echo JText::_('COM_JHTRAQ_MILESTONE');?>: <?php echo $milestone['milestone'];?></h3>
	<div class="changes">
		<?php
			foreach($milestone['changes'] as $change) { ?>
			<span class="type_bullet"><?php echo $this->types[$change['type']]['bullet']?></span> <?php echo $change['summary']?><br />
		<?php } ?>
	<?php echo $milestone['changelog']?>
	</div>
	<br />
<?php } ?>